-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path4.1.13 (d+e x)^m sin(a+b x+c x^2)^n.nb
More file actions
5235 lines (5093 loc) · 235 KB
/
4.1.13 (d+e x)^m sin(a+b x+c x^2)^n.nb
File metadata and controls
5235 lines (5093 loc) · 235 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(* Content-type: application/mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 7.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 145, 7]
NotebookDataLength[ 235403, 5226]
NotebookOptionsPosition[ 227501, 5018]
NotebookOutlinePosition[ 229301, 5074]
CellTagsIndexPosition[ 229258, 5071]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[
StyleBox[
RowBox[{Cell[TextData[StyleBox["Rules for integrands of the form",
FontFamily->"Arial",
FontSize->16]], "None"],
SuperscriptBox[
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}], "n"]}],
FontSize->16]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193415004828687`*^9, 3.5193415113404875`*^9}, {
3.5193513965602303`*^9, 3.519351397420232*^9}, {3.5194037839416766`*^9,
3.5194037847117205`*^9}, {3.5233155055329347`*^9, 3.523315506402936*^9}, {
3.523318726949605*^9, 3.5233187276796064`*^9}, {3.523920400879534*^9,
3.5239204094439487`*^9}, 3.52392096260852*^9, 3.523921038171853*^9,
3.5340477459008017`*^9, 3.5340515540554085`*^9, {3.536542511100503*^9,
3.53654251626051*^9}, {3.536775961244521*^9, 3.5367759616145215`*^9}, {
3.544373142375139*^9, 3.5443731599851637`*^9}, {3.5721095751430073`*^9,
3.5721095751430073`*^9}, {3.57578648209792*^9, 3.575786503859958*^9},
3.575786540270422*^9, {3.5757866379421935`*^9, 3.5757866609522343`*^9},
3.5758478960540276`*^9, 3.57584912634415*^9, 3.575849218264279*^9, {
3.575849275424359*^9, 3.57584927603436*^9}, {3.5758493222644243`*^9,
3.5758493249844284`*^9}, 3.6857569753464036`*^9, 3.7062368187961516`*^9},
TextAlignment->Center,
FontSize->12,
FontWeight->"Bold"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{Cell[TextData[StyleBox["1.",
FontFamily->"Arial"]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193415004828687`*^9, 3.5193415113404875`*^9}, {
3.5193513965602303`*^9, 3.519351397420232*^9}, {3.5194037839416766`*^9,
3.5194037847117205`*^9}, {3.5233155055329347`*^9, 3.523315506402936*^9}, {
3.523318726949605*^9, 3.5233187276796064`*^9}, {3.523920400879534*^9,
3.5239204094439487`*^9}, 3.52392096260852*^9, 3.523921038171853*^9,
3.5340477459008017`*^9, 3.5340515540554085`*^9, {3.536542511100503*^9,
3.53654251626051*^9}, {3.536775961244521*^9, 3.5367759616145215`*^9}, {
3.5415536021761856`*^9, 3.5415536417690554`*^9}, {3.541553723606799*^9,
3.541553727070005*^9}, {3.5415537801724987`*^9, 3.5415538106081514`*^9}, {
3.5601904604844384`*^9, 3.5601904615608406`*^9}, {3.5605383470002007`*^9,
3.560538347490202*^9}, {3.5605392059014034`*^9, 3.5605392060714035`*^9}, {
3.566609914235198*^9, 3.5666099207652073`*^9}, {3.566609981135292*^9,
3.566610005625326*^9}, {3.567624450517342*^9, 3.567624492871416*^9},
3.6857569921823664`*^9, 3.7062368297711673`*^9},
FontSize->12,
FontWeight->"Bold"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\t",
RowBox[{Cell[TextData[StyleBox["1:",
FontFamily->"Arial",
FontColor->RGBColor[1, 0, 0]]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}],
RowBox[{"\[DifferentialD]", "x"}], " ",
StyleBox["when",
FontFamily->"Arial",
FontWeight->"Plain"],
StyleBox[" ",
FontFamily->"Arial",
FontWeight->"Plain"], Cell[TextData[Cell[BoxData[
RowBox[{
RowBox[{
SuperscriptBox["b", "2"], "-",
RowBox[{"4", " ", "a", " ", "c"}]}], "\[Equal]", "0"}]]]],
"None"]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193422443984776`*^9, 3.5193422447260776`*^9},
3.5193424488212357`*^9, {3.5193434708254333`*^9, 3.519343473103037*^9}, {
3.5193435097631016`*^9, 3.51934353169674*^9}, {3.519345739319023*^9,
3.519345739599823*^9}, 3.5193462601259375`*^9, {3.5193475061060295`*^9,
3.5193475233908596`*^9}, {3.519351391880224*^9, 3.5193513931402254`*^9}, {
3.519403773021052*^9, 3.5194037798564425`*^9}, 3.5194106793250647`*^9, {
3.519537578341393*^9, 3.5195375792305946`*^9}, {3.5195376277778797`*^9,
3.51953767927357*^9}, {3.5197586260636144`*^9, 3.5197586260636144`*^9}, {
3.51978053295651*^9, 3.519780542862528*^9}, {3.5197806526087203`*^9,
3.5197806657595434`*^9}, {3.5197807490168896`*^9, 3.5197807642581167`*^9},
3.5197809004619555`*^9, {3.519782653514635*^9, 3.5197826623286505`*^9}, {
3.5200207810164795`*^9, 3.520020785046485*^9}, {3.5213126833374643`*^9,
3.5213126833374643`*^9}, {3.521328235411002*^9, 3.521328235411002*^9}, {
3.523315567893022*^9, 3.523315567893022*^9}, {3.5233157569332867`*^9,
3.5233157613032923`*^9}, {3.5323023198133526`*^9, 3.532302355723403*^9}, {
3.5323026417638035`*^9, 3.5323026417638035`*^9}, {3.5323026980138817`*^9,
3.5323026980138817`*^9}, {3.532636287104328*^9, 3.532636287104328*^9}, {
3.5330803686035347`*^9, 3.533080368863535*^9}, {3.533248909289961*^9,
3.5332489110299635`*^9}, {3.5418136182858934`*^9, 3.541813646495933*^9}, {
3.541885900975107*^9, 3.541885900975107*^9}, {3.5418899389143834`*^9,
3.5418899662244215`*^9}, 3.5418900751945744`*^9, {3.5462974735235267`*^9,
3.546297473743527*^9}, {3.560128588234247*^9, 3.560128589104248*^9}, {
3.560128670294362*^9, 3.560128673044366*^9}, 3.560538357830216*^9, {
3.5666094807245913`*^9, 3.566609487604601*^9}, {3.566609570594717*^9,
3.5666095747147226`*^9}, {3.5666096223447895`*^9, 3.566609626074795*^9}, {
3.566610011555334*^9, 3.5666100126653357`*^9}, {3.5676239789933147`*^9,
3.567623987214529*^9}, 3.5676240952915187`*^9, {3.5676242999458776`*^9,
3.5676242999458776`*^9}, {3.5676244957262216`*^9, 3.567624496521823*^9},
3.6857569944634967`*^9, 3.7062368464971914`*^9},
FontSize->12,
FontWeight->"Bold"],
Cell["Derivation: Algebraic simplification", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.497575979956957*^9, {3.4978169434003916`*^9,
3.497816948440398*^9}}],
Cell[TextData[{
"Basis: ",
"If ",
Cell[BoxData[
RowBox[{
RowBox[{
SuperscriptBox["b", "2"], "-",
RowBox[{"4", " ", "a", " ", "c"}]}], "\[Equal]", "0"}]]],
", then ",
Cell[BoxData[
RowBox[{
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "\[Equal]",
FractionBox[
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", " ", "c", " ", "x"}]}], ")"}], "2"],
RowBox[{"4", " ", "c"}]]}]]]
}], "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, {3.497575979956957*^9, 3.4975760172870092`*^9},
3.497809962345409*^9, {3.497816982770447*^9, 3.4978170004804716`*^9}, {
3.567624109549944*^9, 3.5676241272247753`*^9}}],
Cell[TextData[{
"Rule: If ",
Cell[BoxData[
RowBox[{
RowBox[{
SuperscriptBox["b", "2"], "-",
RowBox[{"4", " ", "a", " ", "c"}]}], "\[Equal]", "0"}]]],
", then"
}], "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.4964417379912624`*^9, 3.4964417471112747`*^9}, {
3.496441910111503*^9, 3.4964419275315275`*^9}, 3.496451213764926*^9,
3.496528833243797*^9, {3.49781695654041*^9, 3.497816973120433*^9}, {
3.567624129190378*^9, 3.567624129190378*^9}}],
Cell[BoxData[
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}],
RowBox[{"\[DifferentialD]",
RowBox[{"x", " ", "\[LongRightArrow]", " ",
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Sin", "[",
FractionBox[
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", " ", "c", " ", "x"}]}], ")"}], "2"],
RowBox[{"4", " ", "c"}]], "]"}],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{{3.4796579723816*^9, 3.4796580261689425`*^9},
3.479661191290163*^9, {3.479686720164157*^9, 3.479686720204214*^9}, {
3.479686831554328*^9, 3.479686834819022*^9}, {3.4940970712485504`*^9,
3.4940971130286083`*^9}, 3.4940971455886545`*^9, 3.49644160092107*^9,
3.496441663571158*^9, {3.496528814953771*^9, 3.4965288223737817`*^9},
3.497576045657049*^9, 3.497576089857111*^9, {3.497810010085476*^9,
3.497810026705499*^9}, 3.4978168734802933`*^9, 3.497816906020339*^9},
TextAlignment->Center,
FontSize->12,
FontWeight->"Bold"],
Cell["Program code:", "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.492804314166378*^9, 3.4928043441496305`*^9}, {
3.4928044532166224`*^9, 3.492804453513023*^9}, {3.492805162266266*^9,
3.492805165713872*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"a_.", "+",
RowBox[{"b_.", "*", "x_"}], "+",
RowBox[{"c_.", "*",
RowBox[{"x_", "^", "2"}]}]}], "]"}], ",", "x_Symbol"}], "]"}], " ", ":=",
"\n", " ",
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", "*", "c", "*", "x"}]}], ")"}], "^", "2"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], ",", "x"}], "]"}], " ", "/;",
"\n",
RowBox[{
RowBox[{"FreeQ", "[",
RowBox[{
RowBox[{"{",
RowBox[{"a", ",", "b", ",", "c"}], "}"}], ",", "x"}], "]"}], " ", "&&",
" ",
RowBox[{"EqQ", "[",
RowBox[{
RowBox[{
RowBox[{"b", "^", "2"}], "-",
RowBox[{"4", "*", "a", "*", "c"}]}], ",", "0"}], "]"}]}]}]}]], "Code",
CellChangeTimes->{{3.494097165958683*^9, 3.4940971894087152`*^9}, {
3.4940972668388243`*^9, 3.4940972723188314`*^9}, 3.4964415782510386`*^9,
3.4965287890937347`*^9, 3.4975759366868963`*^9, 3.49780993428537*^9,
3.497816883330307*^9, 3.7061389876046047`*^9, 3.706237369047043*^9,
3.706308342512051*^9, {3.706412372466614*^9, 3.7064123727656307`*^9}},
Background->GrayLevel[0.85]],
Cell[BoxData[
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Cos", "[",
RowBox[{"a_.", "+",
RowBox[{"b_.", "*", "x_"}], "+",
RowBox[{"c_.", "*",
RowBox[{"x_", "^", "2"}]}]}], "]"}], ",", "x_Symbol"}], "]"}], " ", ":=",
"\n", " ",
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Cos", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", "*", "c", "*", "x"}]}], ")"}], "^", "2"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], ",", "x"}], "]"}], " ", "/;",
"\n",
RowBox[{
RowBox[{"FreeQ", "[",
RowBox[{
RowBox[{"{",
RowBox[{"a", ",", "b", ",", "c"}], "}"}], ",", "x"}], "]"}], " ", "&&",
" ",
RowBox[{"EqQ", "[",
RowBox[{
RowBox[{
RowBox[{"b", "^", "2"}], "-",
RowBox[{"4", "*", "a", "*", "c"}]}], ",", "0"}], "]"}]}]}]}]], "Code",
CellChangeTimes->{{3.494097165958683*^9, 3.4940971894087152`*^9}, {
3.4940972668388243`*^9, 3.4940972723188314`*^9}, 3.4964415782510386`*^9,
3.4965287890937347`*^9, 3.4975759366868963`*^9, 3.49780993428537*^9,
3.497816883330307*^9, {3.49792163047021*^9, 3.49792163047021*^9},
3.497984621592174*^9, 3.7062975230461226`*^9, 3.706412381131109*^9},
Background->GrayLevel[0.85]],
Cell["", "Subsubsection",
CellDingbat->None,
CellChangeTimes->{3.4796643211106243`*^9}]
}, Closed]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\t",
RowBox[{Cell[TextData[StyleBox["2:",
FontFamily->"Arial",
FontColor->RGBColor[1, 0, 0]]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}],
RowBox[{"\[DifferentialD]", "x"}], " ",
StyleBox["when",
FontFamily->"Arial",
FontWeight->"Plain"],
StyleBox[" ",
FontFamily->"Arial",
FontWeight->"Plain"], Cell[TextData[Cell[BoxData[
RowBox[{
RowBox[{
SuperscriptBox["b", "2"], "-",
RowBox[{"4", " ", "a", " ", "c"}]}], "\[NotEqual]", "0"}]]]],
"None"]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193422443984776`*^9, 3.5193422447260776`*^9},
3.5193424488212357`*^9, {3.5193434708254333`*^9, 3.519343473103037*^9}, {
3.5193435097631016`*^9, 3.51934353169674*^9}, {3.519345739319023*^9,
3.519345739599823*^9}, 3.5193462601259375`*^9, {3.5193475061060295`*^9,
3.5193475233908596`*^9}, {3.519351391880224*^9, 3.5193513931402254`*^9}, {
3.519403773021052*^9, 3.5194037798564425`*^9}, 3.5194106793250647`*^9, {
3.519537578341393*^9, 3.5195375792305946`*^9}, {3.5195376277778797`*^9,
3.51953767927357*^9}, {3.5197586260636144`*^9, 3.5197586260636144`*^9}, {
3.51978053295651*^9, 3.519780542862528*^9}, {3.5197806526087203`*^9,
3.5197806657595434`*^9}, {3.5197807490168896`*^9, 3.5197807642581167`*^9},
3.5197809004619555`*^9, {3.519782653514635*^9, 3.5197826623286505`*^9}, {
3.5200207810164795`*^9, 3.520020785046485*^9}, {3.5213126833374643`*^9,
3.5213126833374643`*^9}, {3.521328235411002*^9, 3.521328235411002*^9}, {
3.523315567893022*^9, 3.523315567893022*^9}, {3.5233157569332867`*^9,
3.5233157613032923`*^9}, {3.5323023198133526`*^9, 3.532302355723403*^9}, {
3.5323026417638035`*^9, 3.5323026417638035`*^9}, {3.5323026980138817`*^9,
3.5323026980138817`*^9}, {3.532636287104328*^9, 3.532636287104328*^9}, {
3.5330803686035347`*^9, 3.533080368863535*^9}, {3.533248909289961*^9,
3.5332489110299635`*^9}, {3.5418136182858934`*^9, 3.541813646495933*^9}, {
3.541885900975107*^9, 3.541885900975107*^9}, {3.5418899389143834`*^9,
3.5418899662244215`*^9}, 3.5418900751945744`*^9, {3.5462974735235267`*^9,
3.546297473743527*^9}, {3.560128588234247*^9, 3.560128589104248*^9}, {
3.560128670294362*^9, 3.560128673044366*^9}, 3.560538357830216*^9, {
3.5666094807245913`*^9, 3.566609487604601*^9}, {3.566609570594717*^9,
3.5666095747147226`*^9}, {3.5666096223447895`*^9, 3.566609626074795*^9}, {
3.566610011555334*^9, 3.5666100126653357`*^9}, {3.5676239789933147`*^9,
3.567623987214529*^9}, {3.5676243053122873`*^9, 3.567624309321494*^9}, {
3.567624513822253*^9, 3.5676245157566566`*^9}, 3.6857569997177973`*^9,
3.7062368481371937`*^9},
FontSize->12,
FontWeight->"Bold"],
Cell["Derivation: Algebraic expansion", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.4975761400971813`*^9, 3.497810067935557*^9}],
Cell[TextData[{
"Basis: ",
Cell[BoxData[
RowBox[{
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "\[Equal]",
RowBox[{
FractionBox[
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", " ", "c", " ", "x"}]}], ")"}], "2"],
RowBox[{"4", " ", "c"}]], "-",
FractionBox[
RowBox[{
SuperscriptBox["b", "2"], "-",
RowBox[{"4", " ", "a", " ", "c"}]}],
RowBox[{"4", " ", "c"}]]}]}]]]
}], "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, {3.497575979956957*^9, 3.4975760172870092`*^9},
3.497809962345409*^9, 3.4978100933655925`*^9, {3.497817065230562*^9,
3.4978170909905977`*^9}, {3.567624132793985*^9, 3.567624132793985*^9}}],
Cell[TextData[{
"Basis: ",
Cell[BoxData[
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"z", "-", "w"}], "]"}], "\[Equal]",
RowBox[{
RowBox[{
RowBox[{"Cos", "[", "w", "]"}], " ",
RowBox[{"Sin", "[", "z", "]"}]}], "-",
RowBox[{
RowBox[{"Sin", "[", "w", "]"}], " ",
RowBox[{"Cos", "[", "z", "]"}]}]}]}]]]
}], "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, {3.497575979956957*^9, 3.4975760172870092`*^9},
3.497809962345409*^9, 3.4978100933655925`*^9, {3.497817065230562*^9,
3.4978170672105646`*^9}, {3.5676241349779882`*^9, 3.5676241349779882`*^9}}],
Cell[TextData[{
"Rule: If ",
Cell[BoxData[
RowBox[{
RowBox[{
SuperscriptBox["b", "2"], "-",
RowBox[{"4", " ", "a", " ", "c"}]}], "\[NotEqual]", "0"}]]],
", then"
}], "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.4964417379912624`*^9, 3.4964417471112747`*^9}, {
3.496441910111503*^9, 3.4964419275315275`*^9}, 3.496451213764926*^9,
3.496528833243797*^9, {3.49781695654041*^9, 3.497816973120433*^9}, {
3.497817041950529*^9, 3.4978170441505327`*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}],
RowBox[{"\[DifferentialD]",
RowBox[{"x", " ", "\[LongRightArrow]", " ",
RowBox[{"Cos", "[",
FractionBox[
RowBox[{
SuperscriptBox["b", "2"], "-",
RowBox[{"4", " ", "a", " ", "c"}]}],
RowBox[{"4", " ", "c"}]], "]"}]}]}], " ",
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Sin", "[",
FractionBox[
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", " ", "c", " ", "x"}]}], ")"}], "2"],
RowBox[{"4", " ", "c"}]], "]"}],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]}], "-",
RowBox[{
RowBox[{"Sin", "[",
FractionBox[
RowBox[{
SuperscriptBox["b", "2"], "-",
RowBox[{"4", " ", "a", " ", "c"}]}],
RowBox[{"4", " ", "c"}]], "]"}], " ",
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Cos", "[",
FractionBox[
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", " ", "c", " ", "x"}]}], ")"}], "2"],
RowBox[{"4", " ", "c"}]], "]"}],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{{3.4796579732027807`*^9, 3.479658002474872*^9}, {
3.4796580599975853`*^9, 3.4796580609489536`*^9}, {3.479658295195784*^9,
3.47965829684816*^9}, 3.4796611938939075`*^9, 3.4796613924794593`*^9, {
3.479661443342597*^9, 3.479661446647349*^9}, {3.479661576554146*^9,
3.479661589302477*^9}, 3.479661847553824*^9, {3.4796622294729967`*^9,
3.4796622450654173`*^9}, {3.479686720424531*^9, 3.4796867204345455`*^9}, {
3.4796874646646957`*^9, 3.4796874745589232`*^9}, {3.492826573513727*^9,
3.492826578630536*^9}, {3.4928267070863624`*^9, 3.492826707460763*^9},
3.4928267903497095`*^9, {3.492829799151373*^9, 3.4928299617216005`*^9}, {
3.4940972077187414`*^9, 3.4940972347887793`*^9}, {3.496441851501421*^9,
3.496441872881451*^9}, {3.496528916553913*^9, 3.4965289272239285`*^9}, {
3.497576165747217*^9, 3.4975761801372375`*^9}, {3.4978101340656495`*^9,
3.4978101470356674`*^9}, 3.497816875700297*^9, 3.497816927160369*^9},
TextAlignment->Center,
FontSize->12,
FontWeight->"Bold"],
Cell["Program code:", "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.492804314166378*^9, 3.4928043441496305`*^9}, {
3.4928044532166224`*^9, 3.492804453513023*^9}, {3.492805162266266*^9,
3.492805165713872*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"a_.", "+",
RowBox[{"b_.", "*", "x_"}], "+",
RowBox[{"c_.", "*",
RowBox[{"x_", "^", "2"}]}]}], "]"}], ",", "x_Symbol"}], "]"}], " ", ":=",
"\n", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"Cos", "[",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "^", "2"}], "-",
RowBox[{"4", "*", "a", "*", "c"}]}], ")"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], "*",
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", "*", "c", "*", "x"}]}], ")"}], "^", "2"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], ",", "x"}], "]"}]}], " ",
"-", " ", "\n", " ",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "^", "2"}], "-",
RowBox[{"4", "*", "a", "*", "c"}]}], ")"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], "*",
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Cos", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", "*", "c", "*", "x"}]}], ")"}], "^", "2"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], ",", "x"}], "]"}]}]}], " ",
"/;", "\n",
RowBox[{
RowBox[{"FreeQ", "[",
RowBox[{
RowBox[{"{",
RowBox[{"a", ",", "b", ",", "c"}], "}"}], ",", "x"}], "]"}], " ", "&&",
" ",
RowBox[{"NeQ", "[",
RowBox[{
RowBox[{
RowBox[{"b", "^", "2"}], "-",
RowBox[{"4", "*", "a", "*", "c"}]}], ",", "0"}], "]"}]}]}]}]], "Code",
CellChangeTimes->{{3.494097279728842*^9, 3.494097309778884*^9},
3.496441834031397*^9, 3.496442095051762*^9, 3.496528791863739*^9,
3.496528888643874*^9, 3.497575939976901*^9, 3.4975761146971455`*^9,
3.4978099270853596`*^9, 3.497810062495549*^9, 3.4978168901103168`*^9,
3.706149351111473*^9, 3.7062373670470405`*^9, 3.7063083431450872`*^9, {
3.706412513450677*^9, 3.706412513863701*^9}},
Background->GrayLevel[0.85]],
Cell[BoxData[
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Cos", "[",
RowBox[{"a_.", "+",
RowBox[{"b_.", "*", "x_"}], "+",
RowBox[{"c_.", "*",
RowBox[{"x_", "^", "2"}]}]}], "]"}], ",", "x_Symbol"}], "]"}], " ", ":=",
"\n", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"Cos", "[",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "^", "2"}], "-",
RowBox[{"4", "*", "a", "*", "c"}]}], ")"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], "*",
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Cos", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", "*", "c", "*", "x"}]}], ")"}], "^", "2"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], ",", "x"}], "]"}]}], " ",
"+", " ", "\n", " ",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "^", "2"}], "-",
RowBox[{"4", "*", "a", "*", "c"}]}], ")"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], "*",
RowBox[{"Int", "[",
RowBox[{
RowBox[{"Sin", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "+",
RowBox[{"2", "*", "c", "*", "x"}]}], ")"}], "^", "2"}], "/",
RowBox[{"(",
RowBox[{"4", "*", "c"}], ")"}]}], "]"}], ",", "x"}], "]"}]}]}], " ",
"/;", "\n",
RowBox[{
RowBox[{"FreeQ", "[",
RowBox[{
RowBox[{"{",
RowBox[{"a", ",", "b", ",", "c"}], "}"}], ",", "x"}], "]"}], " ", "&&",
" ",
RowBox[{"NeQ", "[",
RowBox[{
RowBox[{
RowBox[{"b", "^", "2"}], "-",
RowBox[{"4", "*", "a", "*", "c"}]}], ",", "0"}], "]"}]}]}]}]], "Code",
CellChangeTimes->{{3.494097279728842*^9, 3.494097309778884*^9},
3.496441834031397*^9, 3.496442095051762*^9, 3.496528791863739*^9,
3.496528888643874*^9, 3.497575939976901*^9, 3.4975761146971455`*^9,
3.4978099270853596`*^9, 3.497810062495549*^9, 3.4978168901103168`*^9, {
3.497921614870183*^9, 3.4979216450562363`*^9}, 3.4979846288461866`*^9,
3.7062975337217336`*^9, 3.706412521345129*^9},
Background->GrayLevel[0.85]],
Cell["", "Subsubsection",
CellDingbat->None,
CellChangeTimes->{3.4796643211106243`*^9}]
}, Closed]]
}, Closed]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{Cell[TextData[StyleBox["2:",
FontFamily->"Arial",
FontColor->RGBColor[1, 0, 0]]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}], "n"],
RowBox[{"\[DifferentialD]", "x"}], " ",
StyleBox["when",
FontFamily->"Arial",
FontWeight->"Plain"],
StyleBox[" ",
FontFamily->"Arial",
FontWeight->"Plain"], Cell[TextData[Cell[BoxData[
RowBox[{
RowBox[{"n", "\[Element]", "\[DoubleStruckCapitalZ]"}], " ", "\[And]",
" ",
RowBox[{"n", ">", "1"}]}]]]], "None"]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193422443984776`*^9, 3.5193422447260776`*^9},
3.5193424488212357`*^9, {3.5193434708254333`*^9, 3.519343473103037*^9}, {
3.5193435097631016`*^9, 3.51934353169674*^9}, {3.519345739319023*^9,
3.519345739599823*^9}, 3.5193462601259375`*^9, {3.5193475061060295`*^9,
3.5193475233908596`*^9}, {3.519351391880224*^9, 3.5193513931402254`*^9}, {
3.519403773021052*^9, 3.5194037798564425`*^9}, 3.5194106793250647`*^9, {
3.519537578341393*^9, 3.5195375792305946`*^9}, {3.5195376277778797`*^9,
3.51953767927357*^9}, {3.5197586260636144`*^9, 3.5197586260636144`*^9}, {
3.51978053295651*^9, 3.519780542862528*^9}, {3.5197806526087203`*^9,
3.5197806657595434`*^9}, {3.5197807490168896`*^9, 3.5197807642581167`*^9},
3.5197809004619555`*^9, {3.519782653514635*^9, 3.5197826623286505`*^9}, {
3.5200207810164795`*^9, 3.520020785046485*^9}, {3.5213126833374643`*^9,
3.5213126833374643`*^9}, {3.521328235411002*^9, 3.521328235411002*^9}, {
3.523315567893022*^9, 3.523315567893022*^9}, {3.5233157569332867`*^9,
3.5233157613032923`*^9}, {3.5323023198133526`*^9, 3.532302355723403*^9}, {
3.5323026417638035`*^9, 3.5323026417638035`*^9}, {3.5323026980138817`*^9,
3.5323026980138817`*^9}, {3.532636287104328*^9, 3.532636287104328*^9}, {
3.5330803686035347`*^9, 3.533080368863535*^9}, {3.533248909289961*^9,
3.5332489110299635`*^9}, {3.5418136182858934`*^9, 3.541813646495933*^9}, {
3.541885900975107*^9, 3.541885900975107*^9}, {3.5418899389143834`*^9,
3.5418899662244215`*^9}, 3.5418900751945744`*^9, {3.5462974735235267`*^9,
3.546297473743527*^9}, {3.560128588234247*^9, 3.560128589104248*^9}, {
3.560128670294362*^9, 3.560128673044366*^9}, 3.560538357830216*^9, {
3.5666094807245913`*^9, 3.566609487604601*^9}, {3.566609570594717*^9,
3.5666095747147226`*^9}, {3.5666096223447895`*^9, 3.566609626074795*^9}, {
3.566610011555334*^9, 3.5666100126653357`*^9}, {3.5676239789933147`*^9,
3.567623987214529*^9}, {3.567624315093504*^9, 3.5676243191963115`*^9}, {
3.5676245382986965`*^9, 3.5676245402331*^9}, {3.5676246044740124`*^9,
3.5676246063304157`*^9}, 3.68575700570714*^9, 3.7062368317711697`*^9},
FontSize->12,
FontWeight->"Bold"],
Cell["Derivation: Algebraic expansion", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.4975761400971813`*^9, 3.497810067935557*^9}],
Cell[TextData[{
"Rule: If ",
Cell[BoxData[
RowBox[{
RowBox[{"n", "\[Element]", "\[DoubleStruckCapitalZ]"}], " ", "\[And]", " ",
RowBox[{"n", ">", "1"}]}]]],
", then"
}], "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.4964417379912624`*^9, 3.4964417471112747`*^9}, {
3.496441910111503*^9, 3.4964419275315275`*^9}, 3.496451213764926*^9,
3.496528833243797*^9, {3.49781695654041*^9, 3.497816973120433*^9}, {
3.497817041950529*^9, 3.4978170441505327`*^9}, {3.560620414295677*^9,
3.560620448085725*^9}, {3.56064285933959*^9, 3.560642860249592*^9}, {
3.5676246095752215`*^9, 3.567624610402023*^9}}],
Cell[BoxData[
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}], "n"],
RowBox[{"\[DifferentialD]",
RowBox[{"x", " ", "\[LongRightArrow]", " ",
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"TrigReduce", "[",
SuperscriptBox[
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}], "n"], "]"}],
RowBox[{"\[DifferentialD]", "x", " "}]}]}]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{{3.4796579732027807`*^9, 3.479658002474872*^9}, {
3.4796580599975853`*^9, 3.4796580609489536`*^9}, {3.479658295195784*^9,
3.47965829684816*^9}, 3.4796611938939075`*^9, 3.4796613924794593`*^9, {
3.479661443342597*^9, 3.479661446647349*^9}, {3.479661576554146*^9,
3.479661589302477*^9}, 3.479661847553824*^9, {3.4796622294729967`*^9,
3.4796622450654173`*^9}, {3.479686720424531*^9, 3.4796867204345455`*^9}, {
3.4796874646646957`*^9, 3.4796874745589232`*^9}, {3.492826573513727*^9,
3.492826578630536*^9}, {3.4928267070863624`*^9, 3.492826707460763*^9},
3.4928267903497095`*^9, {3.492829799151373*^9, 3.4928299617216005`*^9}, {
3.4940972077187414`*^9, 3.4940972347887793`*^9}, {3.496441851501421*^9,
3.496441872881451*^9}, {3.496528916553913*^9, 3.4965289272239285`*^9}, {
3.497576165747217*^9, 3.4975761801372375`*^9}, {3.4978101340656495`*^9,
3.4978101470356674`*^9}, 3.497816875700297*^9, 3.497816927160369*^9, {
3.560620322355549*^9, 3.56062032374555*^9}, {3.560620363525606*^9,
3.56062037348562*^9}, {3.567624611104024*^9, 3.567624612430026*^9}},
TextAlignment->Center,
FontSize->12,
FontWeight->"Bold"],
Cell["Program code:", "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.492804314166378*^9, 3.4928043441496305`*^9}, {
3.4928044532166224`*^9, 3.492804453513023*^9}, {3.492805162266266*^9,
3.492805165713872*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"a_.", "+",
RowBox[{"b_.", "*", "x_"}], "+",
RowBox[{"c_.", "*",
RowBox[{"x_", "^", "2"}]}]}], "]"}], "^", "n_"}], ",", "x_Symbol"}],
"]"}], " ", ":=", "\n", " ",
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{"ExpandTrigReduce", "[",
RowBox[{
RowBox[{
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", "*", "x"}], "+",
RowBox[{"c", "*",
RowBox[{"x", "^", "2"}]}]}], "]"}], "^", "n"}], ",", "x"}], "]"}],
",", "x"}], "]"}], " ", "/;", "\n",
RowBox[{
RowBox[{"FreeQ", "[",
RowBox[{
RowBox[{"{",
RowBox[{"a", ",", "b", ",", "c"}], "}"}], ",", "x"}], "]"}], " ", "&&",
" ",
RowBox[{"IGtQ", "[",
RowBox[{"n", ",", "1"}], "]"}]}]}]}]], "Code",
CellChangeTimes->{{3.494097279728842*^9, 3.494097309778884*^9},
3.496441834031397*^9, 3.496442095051762*^9, 3.496528791863739*^9,
3.496528888643874*^9, 3.497575939976901*^9, 3.4975761146971455`*^9,
3.4978099270853596`*^9, 3.497810062495549*^9, 3.4978168901103168`*^9, {
3.560620474745762*^9, 3.5606205452058606`*^9}, {3.560642779809479*^9,
3.5606427807494802`*^9}, {3.5609189139433002`*^9, 3.560918920948701*^9}, {
3.567624613334828*^9, 3.567624618420437*^9}, {3.706237349288015*^9,
3.7062373495380154`*^9}, 3.7063083436871185`*^9, 3.715373682310616*^9},
Background->GrayLevel[0.85]],
Cell[BoxData[
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{
RowBox[{"Cos", "[",
RowBox[{"a_.", "+",
RowBox[{"b_.", "*", "x_"}], "+",
RowBox[{"c_.", "*",
RowBox[{"x_", "^", "2"}]}]}], "]"}], "^", "n_"}], ",", "x_Symbol"}],
"]"}], " ", ":=", "\n", " ",
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{"ExpandTrigReduce", "[",
RowBox[{
RowBox[{
RowBox[{"Cos", "[",
RowBox[{"a", "+",
RowBox[{"b", "*", "x"}], "+",
RowBox[{"c", "*",
RowBox[{"x", "^", "2"}]}]}], "]"}], "^", "n"}], ",", "x"}], "]"}],
",", "x"}], "]"}], " ", "/;", "\n",
RowBox[{
RowBox[{"FreeQ", "[",
RowBox[{
RowBox[{"{",
RowBox[{"a", ",", "b", ",", "c"}], "}"}], ",", "x"}], "]"}], " ", "&&",
" ",
RowBox[{"IGtQ", "[",
RowBox[{"n", ",", "1"}], "]"}]}]}]}]], "Code",
CellChangeTimes->{{3.494097279728842*^9, 3.494097309778884*^9},
3.496441834031397*^9, 3.496442095051762*^9, 3.496528791863739*^9,
3.496528888643874*^9, 3.497575939976901*^9, 3.4975761146971455`*^9,
3.4978099270853596`*^9, 3.497810062495549*^9, 3.4978168901103168`*^9, {
3.497921614870183*^9, 3.4979216450562363`*^9}, 3.4979846288461866`*^9, {
3.5606204978557944`*^9, 3.560620505875806*^9}, {3.560620572815899*^9,
3.5606205794159083`*^9}, {3.5606427835394845`*^9,
3.5606427844894857`*^9}, {3.5609189249179277`*^9,
3.5609189293821836`*^9}, {3.5676246203236403`*^9, 3.5676246264388514`*^9},
3.715373682324617*^9},
Background->GrayLevel[0.85]],
Cell["", "Subsubsection",
CellDingbat->None,
CellChangeTimes->{3.4796643211106243`*^9}]
}, Closed]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{Cell[TextData[StyleBox["X:",
FontFamily->"Arial",
FontColor->RGBColor[1, 0, 0]]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"Sin", "[",
RowBox[{"a", "+",
RowBox[{"b", " ", "x"}], "+",
RowBox[{"c", " ",
SuperscriptBox["x", "2"]}]}], "]"}], "n"],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193422443984776`*^9, 3.5193422447260776`*^9},